﻿/*
    a09_AnonymouseDelegate @ https://gitee.com/zcatt/MyDemo2020
anonymous delegate的形式:   delegate(parameters){...} 
 */ 
using System;

class Program
{
    delegate void SayHello(string name);
    static void Main(string[] args)
    {
        SayHello sh = delegate (string name)
        {
            Console.WriteLine("Hello, " + name);
        };

        sh("Tom");

        return;
    }
}
